package com.example.design.pattern.behavior.template;

public abstract class Game {

    public abstract void init();
    
    public abstract void startPlay();
    
    public abstract void endPlay();
    
    public void play() {
        init();
        startPlay();
        endPlay();
    }
}
